package com.dingpeikeji.quickdeer.modules.rentproduct.entity;

import java.lang.reflect.Field;

public class ProRentOrders extends CommonProcedure{
	private Integer productid;
	private String ordername;
	private String ordertype;
	private String departdate;
	private String boardaddr;
	private Integer cargotypeid;
	private String officeids;
	private String offaddr;
	private String contacts;
	private String payertel;
	private String remarks;
	private String bookingtype;
	private Integer bookingdays;
	private Integer purchasenum;
	private Double dueamount;
	private String orderuserid;
	private String realscheid;
	// 出参
	private Integer orderid;
	
	public ProRentOrders(){
		super();
	}


	public String getRealscheid() {
		return realscheid;
	}


	public void setRealscheid(String realscheid) {
		this.realscheid = realscheid;
	}


	public Integer getCargotypeid() {
		return cargotypeid;
	}


	public void setCargotypeid(Integer cargotypeid) {
		this.cargotypeid = cargotypeid;
	}


	public String getOfficeids() {
		return officeids;
	}

	public void setOfficeids(String officeids) {
		this.officeids = officeids;
	}

	public ProRentOrders toMap() {
		Field[] fields = this.getClass().getDeclaredFields();
		for (Field field : fields) {
			Object obj;
			try {
				obj = field.get(this);
				if (obj != null) {
					param.put(field.getName(), obj);
				}
			} catch (IllegalArgumentException e) {
				e.printStackTrace();
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			}
		}
		return this;
	}	
	
	public String getOrdername() {
		return ordername;
	}

	public void setOrdername(String ordername) {
		this.ordername = ordername;
	}

	public String getOrdertype() {
		return ordertype;
	}

	public void setOrdertype(String ordertype) {
		this.ordertype = ordertype;
	}

	public Integer getProductid() {
		return productid;
	}
	public void setProductid(Integer productid) {
		this.productid = productid;
	}
	public String getDepartdate() {
		return departdate;
	}
	public void setDepartdate(String departdate) {
		this.departdate = departdate;
	}
	public String getBoardaddr() {
		return boardaddr;
	}
	public void setBoardaddr(String boardaddr) {
		this.boardaddr = boardaddr;
	}
	public String getOffaddr() {
		return offaddr;
	}
	public void setOffaddr(String offaddr) {
		this.offaddr = offaddr;
	}
	public String getContacts() {
		return contacts;
	}
	public void setContacts(String contacts) {
		this.contacts = contacts;
	}
	public String getPayertel() {
		return payertel;
	}
	public void setPayertel(String payertel) {
		this.payertel = payertel;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getBookingtype() {
		return bookingtype;
	}
	public void setBookingtype(String bookingtype) {
		this.bookingtype = bookingtype;
	}
	public Integer getBookingdays() {
		return bookingdays;
	}
	public void setBookingdays(Integer bookingdays) {
		this.bookingdays = bookingdays;
	}
	public Integer getPurchasenum() {
		return purchasenum;
	}
	public void setPurchasenum(Integer purchasenum) {
		this.purchasenum = purchasenum;
	}
	public Double getDueamount() {
		return dueamount;
	}
	public void setDueamount(Double dueamount) {
		this.dueamount = dueamount;
	}
	public Integer getOrderid() {
		if(param.get("orderid") == null){
			return null;
		}
		return (Integer)param.get("orderid");
	}
	public String getOrderuserid() {
		return orderuserid;
	}
	public void setOrderuserid(String orderuserid) {
		this.orderuserid = orderuserid;
	}

	public void setOrderid(Integer orderid) {
		this.orderid = orderid;
	}
	
}
